package com.olympus.hermes.common.constants;


/**
 *
 * @author Mickey
 * @since 2019.11.24
 */
public class EnumDict {
    private String name;
    private Integer code;

    public EnumDict(String name, Integer code) {
        this.name = name;
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    @Override
    public String toString() {
        return "EnumDict{" +
                "name='" + name + '\'' +
                ", code=" + code +
                '}';
    }
}
